package com.wang.springboot.service;

import com.wang.springboot.dto.UserDTO;
import com.wang.springboot.dto.UserPasswordDTO;
import com.wang.springboot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author wy
 * @since 2023-05-25
 */
@Service
public interface IUserService extends IService<User> {
    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);

}
